// 禁止用户长按选择 -- 按钮上
button,
.no-select {
  user-select: none;
}

button {
  outline: none;
}

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

.hand {
  cursor: pointer;
}

.absolute0 {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
}

.beauty-scroll {
  // padding: 10px;padding
  // margin: -10px;margin
  &:hover {
    &::-webkit-scrollbar {
      visibility: visible;
    }
    &::-webkit-scrollbar-thumb {
      visibility: visible;
    }
  }
  &::-webkit-scrollbar {
    // display: none;display
    position: absolute;
    // right: 0;right
    visibility: hidden;
    opacity: 0.5;
    // transition: all 0.8s linear;transition
    background-color: #f0f0f0;
    border-radius: 4px;
    // &:hover {
    //   background-color: red;
    // }
  }
  &::-webkit-scrollbar:vertical {
    width: 8px;
    &:hover {
      width: 8px;
    }
  }
  &::-webkit-scrollbar:horizontal {
    height: 8px;
    &:hover {
      height: 8px;
    }
  }

  &::-webkit-scrollbar-thumb {
    visibility: hidden;
    &:hover {
      visibility: visible;
      background-color: #a0a0a0;
    }
    background-color: #a0a0a0;
    border-radius: 4px;
  }
}

.no-wrap {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.simple-shadow {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.5);
}
.shadow-float {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}
